// 公共接口
import http from "../common/http.js"

export default {
	// 团队中心
	getConterMsg: (data, needLoading) => {
		return http.GET("/team-bonus/index", data, needLoading);
	},
	// 佣金明细/佣金订单
	temOrder: (data, needLoading) => {
		return http.GET("/team-bonus/team-leader-share-details", data, needLoading);
	},

	// 我的团队
	myContent: (data, needLoading) => {
		return http.GET("/team-bonus/team-children-list", data, needLoading);
	},
	// 提现明细
	withdrawalDetails: (data, needLoading) => {
		return http.GET("/share/cash-detail", data, needLoading);
	},
	// 提现
	postwithdrawa: (data, needLoading) => {
		return http.POST("/team-bonus/cash-submit", data, needLoading);
	},
	// 基础配置
	getMsg: (data, needLoading) => {
		return http.GET("/team-bonus/setting", data, needLoading);
	},





}